import { Entity, Column } from 'typeorm';
import { BaseEntity } from '../../../common/base.entity';

@Entity('base_sys_role_menu', { schema: 'midway-admin' })
export class BaseSysRoleMenu extends BaseEntity {
  @Column('int', { name: 'roleId', comment: '角色ID' })
  roleId: number;

  @Column('int', { name: 'menuId', comment: '菜单ID' })
  menuId: number;
}
